import axios from '../utils/axios'

// 获取企业新闻
const getNewsData = () => {
  const _time = (new Date()).getTime()
  const url = 'http://www.jztey.com/html/Article/ArticleList.json?_=' + _time
  return axios.get(url)
}

// 获取发展历程
const getHistoryData = () => {
  const url = 'http://localhost:8080/json/history.html'
  return axios.get(url)
}

// 获取党团建设
const getPartyData = () => {
  const _time = (new Date()).getTime()
  const url = 'http://www.jztey.com/template/ActivityCard.json?'+ _time
  return axios.get(url)
}


export { getNewsData, getHistoryData, getPartyData }
